package com.camemax.pojo;
/*
* This POJO： 用于封装测试文件读取后的数据流
* */
public class AdvertisementView {
    private Long userId;
    private Long advertisementId;
    private String provinceName;
    private String cityName;
    private String timestamp;

    public AdvertisementView(){

    }

    public AdvertisementView(Long userId, Long advertisementId, String provinceName, String cityName, String timestamp) {
        this.userId = userId;
        this.advertisementId = advertisementId;
        this.provinceName = provinceName;
        this.cityName = cityName;
        this.timestamp = timestamp;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAdvertisementId() {
        return advertisementId;
    }

    public void setAdvertisementId(Long advertisementId) {
        this.advertisementId = advertisementId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "AdvertisementView{" +
                "userId=" + userId +
                ", advertisementId=" + advertisementId +
                ", provinceName='" + provinceName + '\'' +
                ", cityName='" + cityName + '\'' +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }
}
